.. _`Image segmentation with markers`: .. _`com.sympathyfordata.imageanalysis.image_segmentation_with_markers`: Image segmentation with markers ``````````````````````````````` .. image:: image_segmentation_markers.svg :width: 48 Segments an input color or grayscale image into regions with integer labels starting from an input "marker" image giving initial labels Documentation ::::::::::::: Algorithms ========== **Random walker** Segments grayscale or color image based on random walkers originating from labelled seed markers :beta: Penalization for random walker motion, larger values give less diffusion **Watershed** Floods watershed basins starting from the labels in the input marker image :compact: If not zero then use the compact-watershed algorithm giving more regularly shaped basins :line: Draws a one-pixel area with value=0 around each region Definition :::::::::: Input ports =========== **source** image source image to segment **markers** image image with markers to guide segmentation Output ports ============ **result** image result after segmentation Configuration ============= **Algorithm** (algorithm) (no description) **beta** (beta) (no description) **compact** (compact) (no description) **line** (line) (no description) Implementation ============== .. automodule:: node_segmentation :noindex: .. class:: SegmentationWithMarkers :noindex: